import { POST, UPLOAD } from "@/services/request.js";
export default {
    register(data = {}){
        return POST({
            url: 'business/register',
            params: data
        })
    },
    login(data = {}){
        return POST({
            url: 'business/login',
            params: data
        })
    },
    checklogin(data = {}){
        return POST({
            url: 'business/checklogin',
            params: data
        })
    },
    profile(data = {}){
        return UPLOAD({
            url: 'business/profile',
            params: data
        })
    },
    sendmail(data = {}){
        return POST({
            url: 'business/sendmail',
            params: data
        })
    },
    delmail(data = {}){
        return POST({
            url: 'business/delmail',
            params: data
        })
    },
    email(data = {}){
        return POST({
            url: 'business/email',
            params: data
        })
    },
    forgetPwd(data = {}){
        return POST({
            url: 'business/forget',
            params: data
        })
    },
    resetPwd(data ={}){
        return POST({
            url: 'business/reset',
            params: data
        })
    },
    sendByEmail(data = {}){
        return POST({
            url: 'business/sendByEmail',
            params: data
        })
    },
    reset(data = {}){
        return POST({
            url: 'business/reset',
            params: data
        })
    },
    record(data = {}){
        return POST({
            url: 'business/record',
            params: data
        })
    },
    

}